package com.crm.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.crm.pojo.common.PageResult;
import com.crm.pojo.domain.User;
import com.crm.pojo.dto.LoginDto;
import com.crm.pojo.dto.UserDto;
import com.crm.pojo.vo.UserRoleVo;
import com.crm.pojo.vo.UserVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserService {
    User getLoginUser(LoginDto loginDto);

    PageResult list(UserDto userDto);

    UserRoleVo userRoleVo();

    void add(UserDto userDto);

    public PageResult transferList(UserDto dto);

    Object listSelect(Long deptId);
    User getUserByUserName(String username);
    User getUserById(Integer userId);

    void del(Integer userId);
}